package example.documentbased.mainModule.services.delegates
{
	import example.documentbased.mainModule.models.vo.DocumentVO;
	import example.documentbased.mainModule.models.vo.EditorVO;
	
	import raix.reactive.IObservable;

	public interface IMainServiceDelegate
	{
		function getEditorsWithDocuments():IObservable; // of ArrayList<example.documentbased.models.vo.EditorVO>
		
		function getEditorWithDocuments(editorId:String):IObservable // of EditorVO
		
		function saveDocument(document:DocumentVO):IObservable; // of id:String
		
		function saveEditor(editor:EditorVO):IObservable; // of id:String
	}
}